﻿<%@ Page Title="" Language="C#" MasterPageFile="~/admin/Default.master" AutoEventWireup="true"
    CodeFile="NewItem.aspx.cs" Inherits="admin_Modules_Result_NewItem" %>

<%@ Register Assembly="CKEditor.NET" Namespace="CKEditor.NET" TagPrefix="CKEditor" %>
<asp:Content ID="Content1" ContentPlaceHolderID="content" runat="Server">
    <script language="javascript" type="text/javascript">
        function validate() {
            var txtKq = document.getElementById('<%=txtLoaiKqHS.ClientID %>').value;

            if (txtKq == '') {
                alert('Bạn chưa nhập loại kết quả học sinh');
                return false;
            }
        }
    </script>
    <div id="page-heading">
        <h1>
        </h1>
    </div>
    <table border="0" width="100%" cellpadding="0" cellspacing="0" id="content-table">
        <tr>
            <th rowspan="3" class="sized">
                <asp:Image runat="server" ID="imgShadowleft" ImageUrl="~/admin/images/shared/side_shadowleft.jpg"
                    Width="20" Height="300" />
                <th class="topleft">
                </th>
                <td id="tbl-border-top">
                    &nbsp;
                </td>
                <th class="topright">
                </th>
                <th rowspan="3" class="sized">
                    <asp:Image runat="server" ID="imgShadowright" ImageUrl="~/admin/images/shared/side_shadowright.jpg"
                        Width="20" Height="300" />
                </th>
        </tr>
        <tr>
            <td id="tbl-border-left">
            </td>
            <td>
                <!--  start content-table-inner -->
                <div id="content-table-inner">
                    <table border="0" width="100%" cellpadding="0" cellspacing="0">
                        <tr valign="top">
                            <td>
                                <!--  start step-holder -->
                                <div id="step-holder">
                                    <div class="step-no">
                                    </div>
                                    <div class="step-dark-left">
                                        Thêm mới KQ học sinh</div>
                                    <div class="clear">
                                    </div>
                                </div>
                                <!--  end step-holder -->
                                <!-- start id-form -->
                                <table border="0" cellpadding="0" cellspacing="0" id="id-form">
                                    <tr>
                                        <th valign="top">
                                            Loại kết quả Học Sinh:
                                        </th>
                                        <td>
                                            <asp:TextBox runat="server" ID="txtLoaiKqHS" CssClass="inp-form-error"></asp:TextBox>
                                        </td>
                                        <td>
                                        </td>
                                    </tr>
                                    <tr>
                                        <th valign="top">
                                            Năm Học:
                                        </th>
                                        <td>
                                            <asp:DropDownList runat="server" ID="ddlNamHoc" CssClass="styledselect_form_1">
                                            </asp:DropDownList>
                                        </td>
                                        <td>
                                        </td>
                                    </tr>
                                    <tr>
                                        <th valign="top">
                                            Lớp:
                                        </th>
                                        <td>
                                            <asp:DropDownList runat="server" ID="ddlLop" CssClass="styledselect_form_2">
                                            </asp:DropDownList>
                                        </td>
                                        <td>
                                        </td>
                                    </tr>
                                    <tr>
                                        <th valign="top">
                                            Học Kỳ:
                                        </th>
                                        <td>
                                            <asp:DropDownList runat="server" ID="ddlHocKy" CssClass="styledselect_form_2">
                                                <asp:ListItem Text="1" Value="0"></asp:ListItem>
                                                <asp:ListItem Text="2" Value="1"></asp:ListItem>
                                            </asp:DropDownList>
                                        </td>
                                        <td>
                                        </td>
                                    </tr>
                                    <tr>
                                        <th valign="top">
                                            Nội Dung:
                                        </th>
                                        <td>
                                            <CKEditor:CKEditorControl ID="CKEditor1" Width="750px" runat="server"></CKEditor:CKEditorControl>
                                        </td>
                                        <td>
                                        </td>
                                    </tr>
                                    <tr>
                                        <th>
                                            &nbsp;
                                        </th>
                                        <td valign="top">
                                            <asp:Button runat="server" ID="btnSubmit" CssClass="form-submit" OnClick="btnSubmit_Click"
                                                OnClientClick="return validate();" />
                                        </td>
                                        <td>
                                        </td>
                                    </tr>
                                </table>
                                <!-- end id-form  -->
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:Image runat="server" ImageUrl="~/admin/images/shared/blank.gif" Width="695"
                                    Height="1" />
                            </td>
                            <td>
                            </td>
                        </tr>
                    </table>
                    <div class="clear">
                    </div>
                </div>
                <!--  end content-table-inner  -->
            </td>
            <td id="tbl-border-right">
            </td>
        </tr>
        <tr>
            <th class="sized bottomleft">
            </th>
            <td id="tbl-border-bottom">
                &nbsp;
            </td>
            <th class="sized bottomright">
            </th>
        </tr>
    </table>
    <div class="clear">
        &nbsp;</div>
</asp:Content>
